<?php
/**
 * Список параметров настройки класса Workset_Acl.
 */
interface Workset_Acl_Options_Interface {
	const OP_USE_RATING				= 'use_rating';
	const OP_USE_ASSERT				= 'use_assert';
	const OP_ADMIN_GROUP_CODE		= 'admin_group_code';
	const OP_GUEST_ROLE_CODE		= 'guest_role_code';
	const OP_REGISTERED_ROLE_CODE   = 'registered_role_code';
	const OP_ADMIN_ID_LIST			= 'administrator_ids';

	const OP_REGISTRY_DB			= 'registry_db';
	const OP_REGISTRY_CACHE			= 'registry_cache';



	const OP_TABLE_GROUP			= 'table_group';
	const OP_TABLE_ROLE				= 'table_role';
	const OP_TABLE_R2G				= 'table_role2group';
	const OP_TABLE_RESOURCE			= 'table_resource';
	const OP_TABLE_PRIVILEGE		= 'table_privilege';
	const OP_TABLE_P2R				= 'table_privilege2resource';
	const OP_TABLE_RULE				= 'table_rule';
	const OP_TABLE_U2G				= 'table_user2group';



	const OP_FIELD_GROUP_ID			= 'field_group_id';
	const OP_FIELD_GROUP_CODE		= 'field_group_code';

	const OP_FIELD_ROLE_ID			= 'field_role_id';
	const OP_FIELD_ROLE_CODE		= 'field_role_code';

	const OP_FIELD_R2G_ROLE			= 'field_role2group_role';
	const OP_FIELD_R2G_GROUP		= 'field_role2group_group';
	const OP_FIELD_R2G_RATING		= 'field_role2group_rating';

	const OP_FIELD_RESOURCE_ID		= 'field_resource_id';
	const OP_FIELD_RESOURCE_CODE	= 'field_resource_code';

	const OP_FIELD_PRIVILEGE_ID     = 'field_privilege_id';
	const OP_FIELD_PRIVILEGE_CODE   = 'field_privilege_code';

	const OP_FIELD_P2R_PRIVILEGE	= 'field_privilege2resource_privilege';
	const OP_FIELD_P2R_RESOURCE		= 'field_privilege2resource_resource';

	const OP_FIELD_RULE_ALLOW		= 'field_rule_allow';
	const OP_FIELD_RULE_ROLE		= 'field_rule_role';
	const OP_FIELD_RULE_RESOURCE	= 'field_rule_resource';
	const OP_FIELD_RULE_PRIVILEGE	= 'field_rule_privilege';
	const OP_FIELD_RULE_ASSERT		= 'field_rule_assert';

	const OP_FIELD_U2G_USER			= 'field_user2group_user';
	const OP_FIELD_U2G_GROUP		= 'field_user2group_group';
}
?>